package com.xusj.loop

/**
  * While 循环测试
  */
object WhileTest {

  def main(args: Array[String]): Unit = {

    var x = if ("aaa" == "bbb") 1 else 0;
    while (x < 6) {
      x += 1
      println("x:" + x)
    }
  }
}
